package com.ssy.bus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ssy.bus.pojo.Prescription;
import com.ssy.common.utils.Result;

/**
 * @author ssy
 */
public interface IPrescriptionService extends IService<Prescription> {

    Result addDrugPrescription(Prescription prescription);

    Result addInspectPrescription(Prescription prescription);

    Result loadDrugInfoTable(String outpatientId);

    Result loadInspectTable(String outpatientId);

    Result deletePrescription(String outpatientId, Integer id, Integer type);

    Result updatePrescriptionByDrug(String outpatientId, Integer drugId, Integer number);

}
